Computes the covariance matrix where and is computed by design_matrix. Uses an SVD of X, without forming X**T * X. Rank-deficient inputs give the Moore-Penrose covariance; use regression_covariance for rank diagnostics.
See Also
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x(:,:) |
An M-by-N matrix containing the formatted independent data matrix as computed by design_matrix. |
The N-by-N covariance matrix.